package com.wcl.hencodertest

import java.lang.StringBuilder


fun main() {


//    StringBuilder().build {
//        append("operation")
//    }

    testHigher(5, 3) { num1, num2 ->
        Int
        num1 + num2
    }
}


//fun StringBuilder.build(block: StringBuilder.() -> Unit): StringBuilder {
//    block()
//    return this
//}


inline fun testHigher(i1: Int, i2: Int, operation: (num1: Int, num2: Int) -> Int): Int {

    return operation(i1, i2)
}